package com.chennan.pattern.chain.gupao.general;

/**
 * @author chennan
 * @create 2022-02
 */
public class CustomerHanderB extends Handler{
    @Override
    public void handleRequest(String request) {
        if(request.equals("b")){
            System.out.println(this.getClass().getSimpleName()+"处理中。。。。");
        }
        if(this.nextHandler!=null){
            this.nextHandler.handleRequest(request);
        }
    }
}
